package com.bruan.utils;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//自动注入配置
@ConfigurationProperties(prefix = "aliyun.oss")
@Component
@Data
public class AliOSSProperties {
    private String endpoint;
    private String bucketName;

}
